package com.caption.remote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name="user-center", fallback = UserInfoRemoteFallBackImpl.class)
public interface UserInfoRemote {
    @GetMapping("/user/info")
    public String info();
}
